<template>
  <div class="playList">
    <ListItem :id="id" />
    <Comment :id="id" />
  </div>
</template>

<script>
import ListItem from "@/components/listitem";
import Comment from "@/components/comment";
import { useRoute } from "vue-router";

export default {
  name: "Playlist",
  components: {
    ListItem,
    Comment
  },
  setup(){
    const route = useRoute();
    let id = route.query.id
    return {id}
  }
};
</script>
<style lang="less" scoped>
.playList{
    max-width: 1440px;
    margin: 0 auto;

}
</style>
